/*---------------------------------------------------------------
    File: 
        wf_socket_util.h
  
    Description:
        String utilities
        some functions are from MUD Programming - Ron Penton

    Author:
        Walter Fan    (walter.fan@gmail.com)                
                                                      
    History:
        1/25/2010  Create                                

----------------------------------------------------------------*/ 
#ifndef __WF_SOCKET_UTIL__
#define __WF_SOCKET_UTIL__
#include "common.h"
#include "wf_type.h"



#ifdef __cplusplus 
extern "C" {
#endif

int errexit(const char* format, ...);

int connect_socket(const char *host,
        const char * service,
        const char * transport);


#ifdef __cplusplus 
}
#endif

   
#endif // end of __WF_SOCKET_UTIL__
